<div class="chooseCondition">
  <div ms-controller="chooseCondition" id="chooseCondition">
    <form class="form-inline search" ms-submit="@handleSubmit">
      <div class="form-group">
        <label for="searchInputForConditions">拼音码或名称：</label>
        <input type="text" id="searchInputForConditions" class="form-control" maxlength="10" ms-duplex="@searchInput" data-duplex-changed="@handleSearch"
          ms-keydown="@handleKeydown" />
      </div>
      <div class="btn-group">
        <button type="button" ms-click="@sureCondition" class="btn btn-primary">确定</button>
        <button type="button" ms-click="@hideDialog" class="btn btn-default">取消</button>
      </div>
      <div class="clear"></div>
    </form>
    <table id="despTable" class="table table-bordered">
      <thead>
        <tr>
          <th ms-for="($index,el) in @columnNames" ms-text="el"></th>
        </tr>
      </thead>
      <tbody ms-visible="@showTBody">
        <tr ms-for="($index,el) in @conditions" ms-class="@chooseIndex===$index?'actived':''" ms-click="@handleClick($index)" ms-dblclick="@handleDBClick($index)">

          <td ms-for="valueName in @columnValueNames" ms-class="@showClass(el,valueName)" ms-text="@showValue(el,valueName)"></td>
        </tr>
      </tbody>
    </table>
    <!--分页插件-->
    <div id="conditionsPage"></div>
    <div class="clear"></div>
  </div>
</div>